<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script language="javascript" src="__static__/common/sign.js"></script>
<script language="javascript"  src="__static__/common/json.js"></script>
<script language="javascript" src="__static__/common/md5.js"></script>
<script language="javascript" src="__static__/common/base64.js"></script>
<script language="javascript" src="__static__/js/url.js"></script>
<div style="margin-left: 1200px">
    <div style="padding-top: 20px;font-size:18px;font-style: inherit">
        <a href="#" onclick="index()"><font color="#f0f8ff">首页</font></a>
        <a href="#" onclick="chat()"><font color="#f0f8ff">论坛中心</font></a>
        <a href="#" onclick="info()"><font color="#f0f8ff">个人中心</font></a>
        <a href="#" onclick="logout()"><font color="#f0f8ff">退出</font></a>
    </div>
</div>
<script>
    //首页
    function index() {
        location.href = url_list.user_index;
    }
    <!--退出-->
    function logout() {
        location.href = url_list.logout;
    }
    <!--个人中心-->
    function info() {
        location.href=url_list.user_info;
    }
    //聊天中心
    function chat() {
        location.href=url_list.user_chat;
    }
</script>